<?php
include('common.php');
//function UserAgent(){
//    $user_agent = ( !isset($_SERVER['HTTP_USER_AGENT'])) ? FALSE : $_SERVER['HTTP_USER_AGENT'];
//    return $user_agent;
//}
////Mobile
//
//$cache_link = cache::get('link');
//$cache_ad = cache::get('ad');
//pe_lead('hook/ad.hook.php');
//pe_lead('hook/user.hook.php');
//$web_qq = $cache_setting['web_qq'] ? explode(',', $cache_setting['web_qq']) : array();
//
//$ad_list = $db->pe_selectall('ad',array('order by'=>'ad_id desc'),'*');
//
//$category_introduction = $db->pe_selectall('category',array('category_pid'=>'125'),'*');
//$category_vip = $db->pe_selectall('category',array('category_pid'=>'124'),'*');
//$category_news = $db->pe_selectall('category',array('category_pid'=>'123'),'*');
//$category_work = $db->pe_selectall('category',array('category_pid'=>'122'),'*');
//$category_examination = $db->pe_selectall('category',array('category_pid'=>'121'),'*');
//$category_registration = $db->pe_selectall('category',array('category_pid'=>'126'),'*');

if (in_array("{$mod}.php", pe_dirlist("{$pe['path_root']}module/{$module}/*.php"))) {
	include("{$pe['path_root']}module/{$module}/{$mod}.php");
}
pe_result();
?>